package com.zone.gateway.center.domain.register.service;

import com.zone.gateway.center.application.IRegisterManageService;
import com.zone.gateway.center.domain.register.model.entity.ApplicationInterfaceEntity;
import com.zone.gateway.center.domain.register.model.entity.ApplicationInterfaceMethodEntity;
import com.zone.gateway.center.domain.register.model.entity.ApplicationSystemEntity;
import com.zone.gateway.center.domain.register.repository.IRegisterManageRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author: zongzi
 * @description: 注册相关实现类
 * @date: 2025/4/24
 */
@Service
public class RegisterManageService implements IRegisterManageService {
    @Autowired
    private IRegisterManageRepository registerManageRepository;


    @Override
    public void regisApplicationSystem(ApplicationSystemEntity applicationSystemEntity) {
        registerManageRepository.regisApplicationSystem(applicationSystemEntity);
    }

    @Override
    public void regisApplicationInterface(ApplicationInterfaceEntity applicationInterfaceEntity) {
        registerManageRepository.regisApplicationInterface(applicationInterfaceEntity);
    }

    @Override
    public void regisApplicationInterfaceMethod(ApplicationInterfaceMethodEntity applicationInterfaceMethodEntity) {
        registerManageRepository.regisApplicationInterfaceMethod(applicationInterfaceMethodEntity);
    }
}
